{include file="public/header" /}
<style>
    .layui-form-label{
        padding: 9px 0;
        width: auto;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>商户基本信息</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商家头像：</label>
                            <div class="input-group col-sm-5">
                                <img id="lunbo_image" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$info.s_thumb}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商家名称：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.s_name}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">商家简介：</label>
                            <div class="layui-input-block" id="LAY_editor" lay-verify="editor">
                                <p>{$info.s_jianjie}</p>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">账户余额：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.s_money}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">认证状态：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.status_name}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">注册手机号码：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.s_phone}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">充值/扣款：</label>
                            <label class="layui-form-label"><a style="color: dodgerblue;width: 120px;display: block;" href="{:url('recharge')}?id={$info['s_id']}">去充值</a></label>
                            <label class="layui-form-label"><a style="color: orangered;width: 120px;display: block;" href="{:url('deduction')}?id={$info['s_id']}">去扣款</a></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
    var editor = wk.wang({elem:'#LAY_editor'});
</script>
</body>
</html>
